home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tech Arsenal 1
/
Tech Arsenal (Arsenal Computer).ISO
/
tek-02
/
tool-inc.zip
/
FLAGS.INT
< prev
next >
Wrap
Text File
|
1989-06-02
|
324b
|
8 lines
function getflag(flag: byte; bitval: byte): boolean;
{return true/false for specified is set}
procedure setflag(var flag: byte; bitval: byte; value: boolean);
{set the specified bit in a flagbyte}
function toggleflag(var flag: byte; bitval: byte): boolean;
{toggle the specified bit and return new setting}